package edu.sctu.practice.class02.liuli.practice.compare;

/**
 * Created by Administrator on 2015/10/12.
 */
public class Exam01 {
    public static void main(String[] args) {
        Compa compa1 = new Compa();
        Compa compa2 = new Compa();
        System.out.println("通过compa1来设置x和y的值");
        compa1.setx(1);
        compa1.showx();
        compa2.sety(2);
        compa2.showx();


    }
}
